﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace Axial.Tests
{
	[TestFixture]
	public class ForTests : TestBase
	{
		[Test]
		public void BasicTest()
		{
			/*
			string check =
@"for (int b = 0; b < 10; ++b)
	a = 1;
";
			*/
			string check =
@"a = 0;
while (a < 10)
{
	a = a + 2;
	a = a + 1;
}";
			base.VerifyMethodOutput("Basic", check);
		}

		public void Basic()
		{
			for (int a = 0; a < 10; ++a)
				a += 2;
		}
	}
}
